<template>
  <div class="employ" v-loading="loading">
    <el-table :data="tableData" stripe style="width: 100%" border>
      <el-table-column label="会员名称" align="center">
        <template slot-scope="scope">
          <el-button
            @click="handleClickNickName(scope.row)"
            type="text"
            size="small"
          >{{scope.row.nickname}}</el-button>
        </template>
      </el-table-column>
      <el-table-column prop="telnum" label="手机号码" align="center"></el-table-column>
      <el-table-column prop="companyname" label="应聘企业名称" align="center">
        <template slot-scope="scope">
          <el-button
            @click="handleClickCompanyName(scope.row)"
            type="text"
            size="small"
          >{{scope.row.companyname}}</el-button>
        </template>
      </el-table-column>
      <el-table-column prop="positionname" label="面试岗位" align="center"></el-table-column>
      <el-table-column prop="interviewdate" label="面试时间" align="center"></el-table-column>
      <el-table-column prop="hrauditdate" label="操作时间" align="center"></el-table-column>
    </el-table>
    <div style="padding: 20px 0;">
      <el-pagination
        background
        :current-page="form.pagenum"
        :page-size="form.pagesize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="total"
        :page-sizes="[10, 20, 30, 50, 100]"
        @current-change="handleCurrentChange"
        @size-change="handleSizeChange"
      ></el-pagination>
    </div>
    <el-dialog :visible.sync="dialogVisible1" width="1040px">
      <resume-detail
        v-if="dialogVisible1"
        :userid="userid"
        :nickName="nickName"
        :isShowTelphone="true"
      ></resume-detail>
    </el-dialog>
    <el-dialog :visible.sync="dialogVisible2" width="1040px">
      <company-detail
        v-if="dialogVisible2"
        :companyName="companyname"
        :companyId="companyid"
        :type="'0'"
        :tabNum="'4'"
      ></company-detail>
    </el-dialog>
  </div>
</template>
<script src='./index.js'></script>
<style scoped src="./index.css"></style>
